Skip to content

ci: grant actions:write to release job so it can trigger appstore-publish#4

Merged
strobelpierre merged 1 commit into
mainfrom
fix/release-permissions
May 13, 2026
Merged

ci: grant actions:write to release job so it can trigger appstore-publish#4
strobelpierre merged 1 commit into
mainfrom
fix/release-permissions

Conversation

@strobelpierre
Copy link
Copy Markdown
Owner

Why

The v1.1.1 release run (#25802254383) failed on the final Trigger App Store publish step:

gh: GraphQL: ... (createWorkflowDispatch)
Process completed with exit code 1.

Cause: the default GITHUB_TOKEN provided to the runner only carries actions: read, but gh workflow run requires actions: write to call the workflow dispatch API. The signing workflow (appstore-build-publish.yml) therefore had to be triggered manually from a local gh CLI to complete the v1.1.1 release.

What changes

Grants actions: write to the release job. This scopes the runner token correctly so that the chained gh workflow run appstore-build-publish.yml step succeeds in-pipeline going forward.

No code change beyond a single permission line; behaviour for everything else is identical.

Test plan

  • Next release run (workflow_dispatch on release.yml) should complete all steps, including Trigger App Store publish, and the appstore-publish workflow should appear in the Actions tab without manual intervention.

…lish

The v1.1.1 release run failed on the final "Trigger App Store publish"
step because the default GITHUB_TOKEN only carries read-level permission
on actions, while `gh workflow run` requires actions:write. The signing
workflow had to be triggered manually from a local gh CLI to complete
the release.

Adding the permission scopes the token correctly so future releases
chain through without manual intervention.
@strobelpierre strobelpierre merged commit df476d0 into main May 13, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant